/*******************************************************************/
/* @ All Rights Reserved Copyright (C) 2014 broada,Co.,Ltd.        */
/*                                                                 */
/*  NAME      = frreport_core.h                                    */
/*  NOTE      =                                                    */
/*  DATE      = 2015/02/27 by guojq                                */
/*******************************************************************/
#ifndef __FRREPORT_DO_H_
#define __FRREPORT_DO_H_

int frreport_init(void *p_context, const char *p_filename, const char *p_zmq_connect);
int frreport_destory(void);
int frprint_add_report_conn(Conntrack *p_st_ct, int i_status, struct timeval st_timeval);
int frprint_add_report_data(Frreport_data **pp_st_report_data);

int frreport_core(int *p_is_run);
int frreport_debug_switch(const char *p_debugstr);
void frreport_debug_stat(char *p_outbuff, unsigned int ui_size);
void frreport_debug_stat_json(void *p_st_json);

#endif
